export const PICK_APPLE = 'PICK_APPLE';
export const pickApple = apple => dispatch => {
  return new Promise(resolve => {
    setTimeout(() => {
      dispatch({
        type: PICK_APPLE,
        apple
      })
      resolve()
    }, 2000)
  })

}